package com.libc.yygh.hosp.config;

import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@MapperScan ("com.libc.yygh.hosp.mapper")
public class HospConfig
{
    /************************************************************* <br>
     *
     *说明: 分页插件<br>
     *
     * @Description   <br>
     * @Date Created on 2022/4/7  14:10  <br>
     * @return com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor  <br>
     * @Author LIBENCHENG
     * @version 1.0 <br>
     ************************************************************* <br>
     */
    @Bean
    public PaginationInnerInterceptor paginationInterceptor( )
    { return new PaginationInnerInterceptor(); }
}
